package com.ecnu.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * ecnu_二期_成果资料表
 * </p>
 *
 * @author zdn
 * @since 2025-11-12
 */
@TableName("incubation_file")
@ApiModel(value = "IncubationFile对象", description = "ecnu_二期_成果资料表")
public class IncubationFile implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 成果孵化id
     */
    @ApiModelProperty("成果孵化id")
    private String incuId;

    /**
     * 文件名
     */
    @ApiModelProperty("文件名")
    private String name;

    /**
     * 文件地址（相对路径）
     */
    @ApiModelProperty("文件地址（相对路径）")
    private String url;

    /**
     * 文件类型（1文献，2数据，3代码，0其他）
     */
    @ApiModelProperty("文件类型（1文献，2数据，3代码，0其他）")
    private String fileType;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private String createUser;

    private LocalDateTime createTime;

    private String updateUser;

    private LocalDateTime updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIncuId() {
        return incuId;
    }

    public void setIncuId(String incuId) {
        this.incuId = incuId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "IncubationFile{" +
            "id = " + id +
            ", incuId = " + incuId +
            ", name = " + name +
            ", url = " + url +
            ", fileType = " + fileType +
            ", delFlag = " + delFlag +
            ", createUser = " + createUser +
            ", createTime = " + createTime +
            ", updateUser = " + updateUser +
            ", updateTime = " + updateTime +
            "}";
    }
}
